package com.lzk.product.domain;

import com.lzk.basic.domain.BaseDomain;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
@Data
public class Product extends BaseDomain{
    //服务名称
    private String name;
    //成本价
    private BigDecimal costprice;
    //销售价
    private BigDecimal saleprice;
    //图片
    private String resources;
    //销售量
    private Long salecount;
    //状态
    private Long state = 0l;
    //下架时间
    private Date offsaletime;
    //上架时间
    private Date onsaletime;
    //创建时间
    private Date createtime = new Date();

    //服务产品详情
    private ProductDetail productDetail;
}
